/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.kungkhies.common.services.kungkhie.parse;

import com.kungkhies.common.services.kungkhie.parse.xml.KungkhieXmlParseException;
import com.kungkhies.xml.schema.kungkhie.KungkhieDocument;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.InputStream;

/**
 *
 * @author clayton
 */
public interface KungkhieParseService 
{
    public KungkhieDocument parseKungkhieFromFileLocation(String fileLocation) throws FileNotFoundException, KungkhieParseException;
    public KungkhieDocument parseKungkhieFromFile(File kungkhieFile) throws KungkhieParseException;
    public KungkhieDocument parseKungkhieFromString(String kungkhieString) throws KungkhieParseException;
    public KungkhieDocument parseKungkhieFromStream(InputStream kungkhieStream) throws KungkhieParseException;
}
